const crypto = require('crypto')

const key = 'Wjyu_456#_.'

const md5 = (content) => {
  return crypto.createHash('md5').update(content).digest('hex');
}

module.exports = {
  getPassword: (password) => {
    return md5(`password=${password}&key=${key}`) 
  }
}